const express = require('express');
const router = express.Router();
const moment = require('moment');
const path = require('path');
const rds = require('./rds');

// 在现有路由之前添加首页路由
router.get('/', async (req, res) => {
    res.redirect('https://mtx.totemlife.cn/subject-autism-spectrum-disorder/');
});

router.get('/recruit/:code', async (req, res) => {
    res.render('asd/bch2501');
});

router.get('/trial/:code', async (req, res) => {
    res.render('asd/bch2501');
});

module.exports = router; 
